package org.edu.common.feign;

import org.edu.common.feign.vo.VeBaseAppUser;
import org.edu.common.system.api.factory.SysBaseAPIFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@Component
@FeignClient(value = "edu-common", fallbackFactory = SysBaseAPIFallbackFactory.class)
public interface FeignCommon {

    /**
     *   新增用户
     **/
    @PostMapping("/common/veCommon/addVeBaseAppUser")
    Map addVeBaseAppUser(@RequestBody VeBaseAppUser message);


}
